<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="commons/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script src="${ctx }/static/js/jquery.js"></script>
<script src="${ctx }/static/js/pintuer.js"></script>
</head>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<style type="text/css">
			html,body{height: 100%;margin: 0;padding: 0;}
			a{text-decoration:none}
			.nav{
				height: 60px;background-color: #38B3D5;
			}
			.nav1{
				color:#EBF8FB;
				line-height: 60px;
				height: 60px;
				float: left;
				margin-left: 5%;
				font-size: 20px;
			}
			.nav1 h2{
				margin: 0;
				font-weight: bolder;
				
			}
			.nav2{
				color: #EBF8FB;
				text-align: center;
				float: left;
				height: 50px;
				line-height: 60px;
				width: 85%;
				font-size: 22px;
			}
			.container{
				display: -webkit-box;
				-webkit-box-orient: vertical;/*纵向布局*/
				height: 100%;
			}
			.content{
				-webkit-box-flex: 1;
				overflow: auto;
				background-color: #F0EFF5;
			}
			.tx{
				width: 95%;
				background-color: white;
				height: 90px;
				line-height: 90px;
				padding-left: 5%;
				color: #959595;
				font-weight: bolder;
			}
			.tx-logo{
				height: 70px;
				width: 70px;
				float: right;
				margin-right: 50%;
				margin-top: 35px;
			}

			.tx-fh{
				height: 25px;
				float: right;
				margin-right: -240px;
				margin-top: 35px;
			}			
		</style>
	</head>
	<body>
	<form action="doemail" name="mobileform" method="post" onSubmit="return checkMobile();" >
		<div class="container">
			<div class="nav">
				<div class="nav1"><h2><a href="javascript:history.go(-1);"><</a></h2></div>
				<div class="nav2">
					联系电话
				</div>
			</div>
			<div class="content">
				<div class="tx">
					联系电话
					<div class="tx-logo">
						<input type="text" class="input"  name="email"
							value="${userMessage.getEmail() }">
					</div>
					<div class="tx-fh">
						<button type="submit">保存</button>
					</div>
				</div>
				
		</div>
		</div>
		</form>
<script type="text/javascript"> 
function checkMobile(){ 
    var sMobile = document.mobileform.email.value 
    if(!(/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(sMobile))){ 
        alert("请输入正确的邮箱地址"); 
        document.mobileform.email.focus(); 
        return false; 
    } 
} 
</script>
	</body>
</html>